package cn.yunyichina.provider.message.main;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * 消息推送服务子系统启动入口
 *
 * @author zhangkw
 * @date 2016-08-11
 */
public class MessageApp {

    private static Logger log = LoggerFactory.getLogger(MessageApp.class);

    public static void main(String[] args) {
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
        applicationContext.start();
        log.info("---------------start yyt-provider-message successful---------------------");
        com.alibaba.dubbo.container.Main.main(args);
    }
}
